package com.bigegg.employee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职位对象 t_post
 * 
 * @author sun
 * @date 2022-08-15
 */
public class Post extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 公司信息ID */
    @Excel(name = "公司信息ID")
    private String companyInfoId;

    /** 招聘人数 */
    @Excel(name = "招聘人数")
    private Long personNumber;

    /** 薪水 */
    @Excel(name = "薪水")
    private String salary;

    /** 工作年限 */
    @Excel(name = "工作年限")
    private String workYears;

    /** 学历要求 */
    @Excel(name = "学历要求")
    private String eduReq;

    /** 需求专业 */
    @Excel(name = "需求专业")
    private String majorReq;

    /** 语言要求 */
    @Excel(name = "语言要求")
    private String languageReq;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dueDate;

    /** 职位描述 */
    @Excel(name = "职位描述")
    private String postDesc;

    /** 联系人 */
    @Excel(name = "联系人")
    private String liaison;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String liaisonPhone;

    /** 联系人邮箱 */
    @Excel(name = "联系人邮箱")
    private String liaisonEmail;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyInfoId(String companyInfoId) 
    {
        this.companyInfoId = companyInfoId;
    }

    public String getCompanyInfoId() 
    {
        return companyInfoId;
    }
    public void setPersonNumber(Long personNumber) 
    {
        this.personNumber = personNumber;
    }

    public Long getPersonNumber() 
    {
        return personNumber;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }
    public void setWorkYears(String workYears) 
    {
        this.workYears = workYears;
    }

    public String getWorkYears() 
    {
        return workYears;
    }
    public void setEduReq(String eduReq) 
    {
        this.eduReq = eduReq;
    }

    public String getEduReq() 
    {
        return eduReq;
    }
    public void setMajorReq(String majorReq) 
    {
        this.majorReq = majorReq;
    }

    public String getMajorReq() 
    {
        return majorReq;
    }
    public void setLanguageReq(String languageReq) 
    {
        this.languageReq = languageReq;
    }

    public String getLanguageReq() 
    {
        return languageReq;
    }
    public void setPublishDate(Date publishDate) 
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate() 
    {
        return publishDate;
    }
    public void setDueDate(Date dueDate) 
    {
        this.dueDate = dueDate;
    }

    public Date getDueDate() 
    {
        return dueDate;
    }
    public void setPostDesc(String postDesc) 
    {
        this.postDesc = postDesc;
    }

    public String getPostDesc() 
    {
        return postDesc;
    }
    public void setLiaison(String liaison) 
    {
        this.liaison = liaison;
    }

    public String getLiaison() 
    {
        return liaison;
    }
    public void setLiaisonPhone(String liaisonPhone) 
    {
        this.liaisonPhone = liaisonPhone;
    }

    public String getLiaisonPhone() 
    {
        return liaisonPhone;
    }
    public void setLiaisonEmail(String liaisonEmail) 
    {
        this.liaisonEmail = liaisonEmail;
    }

    public String getLiaisonEmail() 
    {
        return liaisonEmail;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyInfoId", getCompanyInfoId())
            .append("personNumber", getPersonNumber())
            .append("salary", getSalary())
            .append("workYears", getWorkYears())
            .append("eduReq", getEduReq())
            .append("majorReq", getMajorReq())
            .append("languageReq", getLanguageReq())
            .append("publishDate", getPublishDate())
            .append("dueDate", getDueDate())
            .append("postDesc", getPostDesc())
            .append("liaison", getLiaison())
            .append("liaisonPhone", getLiaisonPhone())
            .append("liaisonEmail", getLiaisonEmail())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
